package com.gxa.usermanagement.controller;

import com.gxa.common.R;
import com.gxa.usermanagement.feign.Shop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ShopController {

    @Autowired
    private Shop shop;

    @GetMapping("/findShop")
    public R findShopController(Integer id){
        return  shop.selectShop(id);
    }
}
